package pattern.structrual.adapter.demo;

/**
 * @Author Gavin
 * @date 2020.07.16 17:15
 */
public class PowerAdapter implements DC5V {
    private AC220V ac220V = new AC220V();

    @Override
    public void DC5() {
        ac220V.V220();//
        System.out.println("被适配为5V的直流电");
    }
}
